home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / Projects / Tutorial Material / Zone Tutorial / Structure Notes / 4. def-instrument-rhythm < prev    next >
Lisp/Scheme  |  1998-10-26  |  891b  |  33 lines

  1. def-rhythm  
  2.  
  3. The files DEMO1-3 show precisely how the timesheet within 
  4. the def-rhythm definition interprets the 
  5. interaction of melody and note length symbols. 
  6.  
  7. For example:
  8.  
  9. (def-rhythm
  10.    solo '1/16 "---- --- - --- -" '(a b c d)
  11. ;              abcd abc d abc d
  12. )
  13.                                                               
  14. The effect is the same as in:
  15.  
  16. (setq mel '(a b c d)
  17. (setq rhy1 '(1/16 1/16 1/16 1/16 -1/16 1/16 1/16 1/16
  18. ;             a   b     c    d     rest  a    b    c
  19.             -1/16 1/16 -1/16 1/16 1/16 1/16 -1/16 1/16)
  20. ;             rest d    rest a     b    c    rest   d 
  21. )
  22.  
  23. Try out all the different combinations of melody and rhythm 
  24. variables in DEMO1-3. These programs also provide excellent 
  25. templates for experimentation with the humanizing functions 
  26. of def-expression and preliminary experiments 
  27. with def-neuron. Find examples in DEMO2A and DEMO3.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.